function show_hide(div_id_desc,div_id_tester,div_id_fixer,title_id) 
{
	if(document.getElementById(div_id_desc).style.display!='block') 
	{
        document.getElementById(title_id).className = 'pointer_active';
		document.getElementById(div_id_desc).style.display = 'block';
		document.getElementById(div_id_tester).style.display = 'block';
		document.getElementById(div_id_fixer).style.display = 'block';
		
		//document.getElementById(id_href).innerHTML = 'Rút gọn';
		
	}
	else 
	{
        document.getElementById(title_id).className = 'pointer';
		document.getElementById(div_id_desc).style.display = 'none';
		document.getElementById(div_id_tester).style.display = 'none';
		document.getElementById(div_id_fixer).style.display = 'none';
		//document.getElementById(id_href).innerHTML = 'Xem đầy đủ';
		
	}
   return true;
}

function press_enter(event) 
{
    //alert(event.keyCode);
    if (event.keyCode == 13 || event.which == 13) 
    {
        document.getElementById("btnsearch").focus();
        document.getElementById("btnsearch").click();
    }

}

function backtomainscreen()
{
    window.location.href = "frmMain.php";
}


function show_hide_status(status_id,dropdown_status_id)
{
    if (document.getElementById(status_id).style.display != 'block') {
        document.getElementById(dropdown_status_id).style.display = 'block';
        document.getElementById(status_id).style.display = 'none';
    }
   
}

function clear_selected(id)
{
    //$("id").find('option:first').attr('selected','selected');
    //$('id option').attr('selected', false);
    //$(id).find('option').removeAttr("selected","") ;
    //alert('clear selected');
  //document.getElementById(id).selectedIndex = document.getElementById(id).getAttribute("default");

    // Look for a default selected option
  
}


function show_icon_hide_combobox()
{
    alert("fuck");
     
}



